﻿<?xml version="1.0" encoding="utf-8" ?>
<AdoNetDataAccess connection="$ArticleDBConnection$" formatter="bizobj of User">
	<Sql>
		SELECT        
			Users.id
		FROM
			Users 
			INNER JOIN CalendarEventEnrolled ON Users.id = CalendarEventEnrolled.userId
		WHERE
			(CalendarEventEnrolled.eventId = @eventId)
	</Sql>
	<Param name="eventId" type="UniqueIdentifier" />
	<param name="userId" type="UniqueIdentifier" />
</AdoNetDataAccess>
